<div>
	<div class="center">
		<?php
		$default = Yii::app()->request->hostInfo;
		$default .= Yii::app()->request->baseUrl;
		$default .= '/images/gravatar-150.png';
		$user = User::model()->findByPk(Yii::app()->user->id);
		$firstname = CHtml::encode($user->profile->firstname);
		$config = array(
			'email'=>$user->email,
			'hashed'=>false,
			'default'=>$default,
			'size'=>150,
			'rating'=>'PG',
			'htmlOptions'=>array(
				'alt'=>"$firstname Avatar",
				'title'=>$firstname,
				'class'=>'round stroke',
			),
		);
		$this->widget('application.widgets.GravatarWidget', $config);
		?>
		<div><b><?php echo $firstname; ?></b></div>
	</div>
	<?php
	$data = array(
		'items'=>Yii::app()->user->menu,
		'htmlOptions'=>array('class'=>'operations'),
	);
	$this->widget('zii.widgets.CMenu', $data);
	?>
</div>